#ifndef IOCTLDISC_H
#define IOCTLDISC_H

#ifdef __APPLE__

#include "../Disc.h"

class CMacIoCtlDisc : public CDisc
{
public:
  CMacIoCtlDisc(const char *device = "/dev/rdisk1");
  virtual ~CMacIoCtlDisc();

  virtual unsigned GetTrackCount() const;
  virtual unsigned long GetStartFrame(unsigned track) const;
  virtual unsigned long GetFrames(unsigned track) const;

private:
  CDTOC *m_pToc;
  wxUint32 m_track_count;
  static const wxUint32 max_buffer = 1536;
};

typedef CMacIoCtlDisc COSDisc; 

#endif	// __APPLE__

#endif // IOCTLDISC_H
